package Student_information.Service;

public class LoginService {
    String myuname = "admin";
    String mypwd = "admin";

    //根据用户名及密码判断正误
    public boolean findUser(String uname, String pwd) {
        if (myuname.equals(uname) && mypwd.equals(pwd)) {
            return true;
        } else {
            return false;
        }
    }
}
